using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using PQT_Personal.DAL;
using System.Data;
using ENT_Entidades;

namespace PQT_Personal.BIZ
{
    public class bizPersonal
    {
        private dalPersonal _AD;

        public dalPersonal AD
        {
            get 
            {
                if (_AD == null) { _AD = new dalPersonal(); }
                return _AD; 
            }
            set { _AD = value; }
        }
        internal void leerPersonal()
        {
                       
        }
        /// <summary>
        /// Es el responsable de listar al personal
        /// </summary>
        /// <returns></returns>
        internal dtsPersonal ListarPersonal()
        {
            return (dtsPersonal) AD.ObtenerPersonal();
        }
    }
}
